<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class init
{
    
    function __construct()
	{
        $this->obj =& get_instance();
		log_message('debug', "init hook Initialized (db)");
	}

    
    function mysqldb()
    {
        $DB = $this->obj->load->database('mysql');
    }

    function masterModule()
    {
        $this->obj->load->model('Master_Model');
    }

    
    function enable_profiler()
    {
        $this->obj->output->enable_profiler($this->obj->config->item('debug'));
    }
}
?>
